package bean;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "COURSES", schema = "HR", catalog = "XE")
public class Course {
    private int studentId;
    private int chinese;
    private int math;
    private int english;
    private int politics;
    private Student student;

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    @Basic
    @Column(name = "CHINESE")
    public int getChinese() {
        return chinese;
    }

    public void setChinese(int chinese) {
        this.chinese = chinese;
    }

    @Basic
    @Column(name = "MATH")
    public int getMath() {
        return math;
    }

    public void setMath(int math) {
        this.math = math;
    }

    @Basic
    @Column(name = "ENGLISH")
    public int getEnglish() {
        return english;
    }

    public void setEnglish(int english) {
        this.english = english;
    }

    @Basic
    @Column(name = "POLITICS")
    public int getPolitics() {
        return politics;
    }

    public void setPolitics(int politics) {
        this.politics = politics;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }
}
